package cc.lirns.demo.websocket.withprimordial.controller;

import lombok.Data;

/**
 * @author liruilin
 * @date 2021/8/31 16:08
 */
@Data
public class MyWebSocketThread implements Runnable {

    private MyWebSocket myWebSocket;

    public MyWebSocketThread() {
    }

    public MyWebSocketThread(MyWebSocket myWebSocket) {
        this.myWebSocket = myWebSocket;
    }

    @Override
    public void run() {
        myWebSocket.getPumpInfoByStation();
    }
}
